package com.dingreading.cloud.soms.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *  实体类。
 *
 * @author EDY
 * @since 2025-10-14
 */
@Data
@Table("relatives")
public class Relatives implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    private String wechatUnionId;

    @Column(onInsertValue = "now()")
    private Date addTime;

    private String appellation;

    private String fullName;

    private String gzhOpenId;

    private Integer gzhPush;

    private Long memberId;

    private String miniOpenId;

    private String phone;

}
